package models

import "gorm.io/gorm"

type Book struct {
	gorm.Model
	AuthorId int    `gorm:"type:int(11)"`
	Title    string `gorm:"type:varchar(50)"`
	Image    string `gorm:"type:text"`
	Type     string `gorm:"type:enum('都市','仙侠','西幻')"`
	Des      string `gorm:"type:text"`
}
